<template>
  <div id="app">

    <router-view></router-view>
    
    <playerBar></playerBar>
  </div>
</template>

<script>
import playerBar from "./components/playerBar.vue"
export default {
  components: {
    playerBar
  },
  computed:{
      showPlayerBar(){
        console.log(this.$store.state.song);
        
        return this.$store.state.song.album ? true : false;
      }
  }
}
</script>


<style lang="scss">

#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #f6f6f6;
  height: 100%;
}

a {
  font-weight: bold;
  color: #a1a1a1;
  text-decoration: none;
  &.router-link-exact-active {
    color: #42b983;
  }
}
</style>
